package com.ruoyi.homeowners.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 户主管理对象 homeowners
 * 
 * @author ruoyi
 * @date 2024-10-11
 */
public class Homeowners extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long homeownerId;

    /** 户主昵称 */
    @Excel(name = "户主昵称")
    private String nickName;

    /** 户主密码 */
    @Excel(name = "户主密码")
    private String homeownerPassword;

    /** 户主手机号 */
    @Excel(name = "户主手机号")
    private String phoneNumber;

    /** 户主状态 */
    @Excel(name = "户主状态")
    private String accountStatus;

    public void setHomeownerId(Long homeownerId) 
    {
        this.homeownerId = homeownerId;
    }

    public Long getHomeownerId() 
    {
        return homeownerId;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setHomeownerPassword(String homeownerPassword) 
    {
        this.homeownerPassword = homeownerPassword;
    }

    public String getHomeownerPassword() 
    {
        return homeownerPassword;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setAccountStatus(String accountStatus) 
    {
        this.accountStatus = accountStatus;
    }

    public String getAccountStatus() 
    {
        return accountStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("homeownerId", getHomeownerId())
            .append("nickName", getNickName())
            .append("homeownerPassword", getHomeownerPassword())
            .append("phoneNumber", getPhoneNumber())
            .append("accountStatus", getAccountStatus())
            .toString();
    }
}
